package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsOrder;
import com.qf.pojo.DtsOrderGoods;
import com.qf.pojo.DtsUser;
import com.qf.vo.DayStatis;
import com.qf.vo.ShipChannelListVo;

import java.util.List;

/**
 * @author Cc
 * @version 1.0
 */

public interface DtsOrderService {

    /**
     * 首页  订单统计
     *
     * @return
     */
    int count();


    List<DayStatis> findDayStatis();

    List<DayStatis> recentCount(int statisDaysRang);

    IPage<DtsOrder> page(Integer page, Integer limit, String sort, String order);

    List<ShipChannelListVo> listShipChannel();


    DtsOrder orderById(Integer id);

    DtsUser userByid(Integer userId);


    List<DtsOrderGoods> goosById(Integer id);
}
